export interface treeDataType {
  id?: number;
  department?: string; // 部门
  userId?: number;
  userShow?: boolean;
  name?: string; // 负责人名字
  position?: string; // 职位
  employeeNum?: number; // 员工数量
  establishmentAllNum?: number; // 所有编制数量
  establishmentNum?: number; // 当前编制数量
  positionNum?: number; // 职位数量
  photograph?: string; // 头像
  btnShow?: boolean; // 按钮显示
  children?: treeDataType[];
  personnel?: number;
  authorized?: number;
  positionShow?: {
    value?: number;
    label?: string;
    show?: boolean;
  };
  employeeShow?: {
    value?: number;
    label?: string;
    show?: boolean;
  };
  establishmentShow?: {
    value?: number;
    label?: string;
    show?: boolean;
  };
  avatarShow?: {
    value?: number;
    label?: string;
    show?: boolean;
  };
  topPositionShow?: {
    value?: number;
    label?: string;
    show?: boolean;
  };
  layout?: boolean;

  personnelData?: {
    Siling?: number;
    JobNumber?: string;
    rank?: string;
    company?: string;
    department?: string;
    startDate?: string;
    phoneNumber?: string;
    telephone?: string;
    mailbox?: string;
    workType?: string;
    workLocation?: string;
  };
}
